﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="INewsList1.ascx.cs" Inherits="Control_INewsList1" %>
<div style="text-align:center;">
    <asp:Label ID="LB_INewsList1" runat="server" Font-Bold="True" Font-Size="Small" ForeColor="Red"></asp:Label>
    <asp:DataList ID="DL_INewsList" runat="server" CellPadding="7" CellSpacing="7" RepeatColumns="3"
        RepeatDirection="Horizontal" Width="100%">
        <ItemTemplate>
            <table border="0" cellpadding="0" cellspacing="0" width="100%">
                <tr>
                    <td>
                        <div align="center">
                            <a href="INewsInfo.aspx?INewsID=<%# Eval("IN_ID") %>">
                                <img alt="" height="120" src="<%# FormatImage(Eval("IN_SmallThumb")) %>"
                                    style="border: 0px;" width="160" /></a>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td height="10">
                    </td>
                </tr>
                <tr>
                    <td>
                        <div align="center">
                            <a href="INewsInfo.aspx?INewsID=<%# Eval("IN_ID") %>">
                                <%# Eval("IN_Title")%>
                            </a>
                        </div>
                    </td>
                </tr>
                <tr>
                    <td height="10">
                    </td>
                </tr>
            </table>
        </ItemTemplate>
    </asp:DataList>
    <table border="0" cellpadding="0" cellspacing="0" style="text-align: center" width="100%">
        <tr>
            <td style="width: 50%">
                &nbsp;
                <asp:LinkButton ID="LBtn_FirstPage" runat="server">首页</asp:LinkButton>
                <asp:LinkButton ID="LBtn_PrePage" runat="server">上一页</asp:LinkButton>
                <asp:LinkButton ID="LBtn_NextPage" runat="server">下一页</asp:LinkButton>
                <asp:LinkButton ID="LBtn_LastPage" runat="server">末页</asp:LinkButton></td>
            <td style="width: 25%">
                &nbsp;第<asp:Label ID="LB_PageIndex" runat="server">1</asp:Label>页</td>
            <td style="width: 25%">
                &nbsp;共<asp:Label ID="LB_PageCount" runat="server"></asp:Label>页</td>
        </tr>
    </table>
</div>
